package com.koron.common.core.business.datadict.bean.po;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.util.Date;

/**
 * 系统管理-数据字典详情{@code SysDataDictDetail}实体类
 *
 * @author 朱超
 * @since 2021-09-06
 */
@Data
@ApiModel(value = "系统管理-数据字典详情", description = "SysDataDictDetail")
public class SysDataDictDetail {

    @ApiModelProperty(value = "id")
    private String id;

    @NotBlank(message = "所属字典ID不能为空")
    @ApiModelProperty(value = "所属字典ID")
    private String dictionary;

    @NotBlank
    @ApiModelProperty(value = "所属租户")
    private String appid;

    @NotBlank(message = "值不能为空")
    @ApiModelProperty(value = "名称，用于前端显示")
    private String key;

    @NotBlank(message = "名称不能为空")
    @ApiModelProperty(value = "值，用于数据库存储")
    private String value;

    @ApiModelProperty(value = "语种")
    private String lang;

    @ApiModelProperty(value = "繁体")
    private String zhHk;

    @ApiModelProperty(value = "英文")
    private String en;

    @ApiModelProperty(value = "排序号", hidden = true)
    private Integer sort;

    @ApiModelProperty(value = "创建人ID", hidden = true)
    private String createUserId;

    @ApiModelProperty(value = "创建人姓名", hidden = true)
    private String createUserName;

    @ApiModelProperty(value = "创建时间", hidden = true)
    private Date createTime;

    @ApiModelProperty(value = "修改人ID", hidden = true)
    private String updateUserId;

    @ApiModelProperty(value = "修改人姓名", hidden = true)
    private String updateUserName;

    @ApiModelProperty(value = "最后修改时间", hidden = true)
    private Date updateTime;

}